package com.java.module.cms.domain;

import com.java.common.lang.annotation.Excel;
import com.java.common.lang.annotation.RichText;
import com.java.common.lang.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 单篇图文对象 cms_about
 * 
 * @author Administrator
 * @date 2021-02-02
 */
@RichText
public class About extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 删除标志（0代表存在 1代表删除） */
    private Integer delFlag;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 详细内容 */
    @Excel(name = "详细内容")
    @RichText
    private String content;

    /** 编号 */
    @Excel(name = "编号")
    private String unicode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUnicode() {
        return unicode;
    }

    public void setUnicode(String unicode) {
        this.unicode = unicode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("title", getTitle())
            .append("content", getContent())
            .append("unicode", getUnicode())
            .toString();
    }

}
